package com.foreknow.demo5;

public class Test {

    // 常量
    public static final String NAME = "tom";
    public static void main(String[] args) {
        Singleton instance = Singleton.getInstance();
        instance.setName("tom");
        System.out.println(instance.getName());
    }
}
